﻿<div style="margin-top:-20px;"><?php echo link_to('Galeria de fotos', '/fotos/index') ?> > 
<?php if($album->getNode()->hasParent()): ?>
<?php echo link_to($album->getNode()->getParent()->getTitulo(), '/fotos/index?id='.$album->getNode()->getParent()->getId()) ?> > 
<?php endif ?>
<?php echo $album->getTitulo() ?></div>
<h2><?php echo $album->getTitulo() ?><br /><span></span></h2>
<div class="albumImages">
<ul>
<?php foreach ($albumPhotos as $foto): ?>
	<li style="float:left; margin-bottom:20px;"><a href="<?php echo sfConfig::get('app_fotos_path').$foto->getImagen() ?>" rel="example1" title="<?php echo $foto->getTitulo() ?>"><img src="<?php echo sfConfig::get('app_fotos_thumb_path').$foto->getImagen() ?>" /></a><div style="text-align: center;font-size:12px;color:#CCC;margin-top:-12px; *margin-top: 0px;"><?php echo $foto->getTitulo() ?></div></li>
<?php endforeach ?>
</ul>
</div>
